package com.epoch.common.loader;

import java.util.ResourceBundle;

/**
 * @author Seon
 * @date 2022/10/22 12:38
 */
public class ParameterLoader {
    private static final String CONFIG_FILE = "net";
    private static final ResourceBundle BUNDLE = ResourceBundle.getBundle(CONFIG_FILE);
    public static final String HOST = BUNDLE.getString("host");
    public static final Integer PORT = Integer.valueOf(BUNDLE.getString("port"));
}
